<template>
  <div>
    <Siderbar></Siderbar>
    <ul>
      <li v-for="item in navdata" :key="item">{{ item }}</li>
    </ul>
  </div>
</template>
<script>
import Vue from "vue";

import Siderbar from "./Siderbar";
Vue.component("Siderbar", Siderbar);

export default {
  data() {
    return {
      navdata: ["首页", "新闻", "问题"],
    };
  },
};
</script>
<style lang="scss">
ul,
li {
  list-style: none;
}
</style>
